
namespace Himall.Entity
{
   
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 微信卡券投放记录
    /// </summary>
    public partial class WXCardCodeLogInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 卡券记录号
        /// </summary>
        public Nullable<long> CardLogId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CardId { get; set; }
        /// <summary>
        /// 标识
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 投放时间
        /// </summary>
        public Nullable<System.DateTime> SendTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int CodeStatus { get; set; }
        /// <summary>
        /// 操作时间 失效、核销、删除时间
        /// </summary>
        public Nullable<System.DateTime> UsedTime { get; set; }
        /// <summary>
        /// 红包类型
        /// </summary>
        public Nullable<CouponTypeEnum> CouponType { get; set; }
        /// <summary>
        /// 红包记录编号
        /// </summary>
        public Nullable<long> CouponCodeId { get; set; }
        /// <summary>
        /// 对应OpenId
        /// </summary>
        public string OpenId { get; set; }
    
        public virtual WXCardLogInfo Himall_WXCardLog { get; set; }
    }
}
